# from config import base_dir
# import json
# def read_data(file_name):
#     with open(base_dir+f'/data/{file_name}','r',encoding='utf-8') as f :
#         a = json.load(f)
#     list1 = []
#     for i in a:
#         i.pop('desc')
#         list1.append(tuple(i.values()))
#     return list1
#
# if __name__ == '__main__':
#    b=  read_data('ihrm_login_all.json')
#    print(b)
# -------------------------------------------------------------------------
# import json
#
# from config import Base_Dir
# def read_file(file_name):
#
#     with open(Base_Dir+f'/data/{file_name}','r',encoding='utf-8') as f:
#         a = json.load(f)
#     list1 = []
#     for i in a:
#         i.pop('desc')
#         list1.append(tuple(i.values()))
#     return list1
# --------------------------------------------------------------------------------
# from config import Base_Dir
#
# def read_file(file_name):
#
#     import json
#     with open(Base_Dir+f'/data/{file_name}','r',encoding='utf-8') as f:
#         a = json.load(f)
#     list1 = []
#     for i in a :
#         i.pop('desc')
#         list1.append(tuple(i.values()))
#     return list1
# ---------------------------------------------------------------------------------------
from config import Base_Dir
import json

def read_file(file_name):
    with open(Base_Dir+f'/data/{file_name}','r',encoding='utf-8') as f:
        a = json.load(f)
    list1 = []
    for i in a :
        i.pop('desc')
        list1.append(tuple(i.values()))
    return list1
